﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//using Com.LongER.Business.ZHM007;

public partial class ZHM007 : System.Web.UI.Page
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void Page_Load(object sender, EventArgs e)
    {
        Label lblPageId = (Label)Master.FindControl("lblPageId");
        lblPageId.Text = "ZHM007";

        Label lblPageName = (Label)Master.FindControl("lblPageName");
        lblPageName.Text = "提示警告一览查询画面";

        this.setLists();

    }

    /// <summary>
    /// 
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void btn主菜单_Click(object sender, EventArgs e)
    {
        Response.Redirect("/LongER/ZAH003.aspx");
    }

    /// <summary>
    /// 
    /// </summary>
    /// <returns></returns>
    private Boolean setLists()
    {
        //CZHM007 instance = new CZHM007();
        //ZHM007DS.M_TONGYONGDataTable ds = instance.GetLists();

        //var query = from data in ds
        //            where data.CODE_CD == "BUMN"
        //            select data;

        //this.list部门.DataSource = query;
        //this.list部门.DataTextField = "CODE1_HANZI";
        //this.list部门.DataValueField = "KEY1";
        //this.list部门.DataBind();
        //this.list部门.SelectedIndex = 0;

        //query = from data in ds
        //        where data.CODE_CD == "ZHIW"
        //        select data;

        //this.list职位.DataSource = query;
        //this.list职位.DataTextField = "CODE1_HANZI";
        //this.list职位.DataValueField = "KEY1";
        //this.list职位.DataBind();
        //this.list职位.SelectedIndex = 0;

        return true;
    }
}